package com.ruoyi.mall.domain;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品规格对象 mall_goods_norm
 *
 * @author ruoyi
 * @date 2024-01-11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MallGoodsNorm extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 规格ID
     */
    private Long normId;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long goodsId;

    /**
     * 规格名称
     */
    @Excel(name = "规格名称")
    private String normName;

    /**
     * 价格
     */
    @Excel(name = "价格")
    private BigDecimal price;

    /**
     * 库存
     */
    @Excel(name = "库存")
    private Integer stock;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;
}
